# -*- coding: utf-8 -*-

class Object(object):
    def __init__(self): pass

def lxx(x):
    return x

def exception(text):
    raise Exception(str(text))

def forbidden(self, name=''):
    raise Exception('%s.%s: forbidden access' % (self.__class__.__name__, name))

def isLikeList(who):
    return not isinstance(who, str) and hasattr(who, '__iter__')
